package com.gzy.demo1.resp;

import com.gzy.demo1.model.Account;
import com.gzy.demo1.model.MyLog;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface MyLogRepository extends JpaRepository<MyLog,Long> {
    List<MyLog> findAllByUid(Long id);

    // select * from account where username = ?
//    Account findAccountByUsername(String username);

}
